<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>model流程模型列表</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="../../css/commen.css"/>
    <script src="../../../../scripts/boot.js" type="text/javascript"></script>
    <!--<script src="../../js/activiti_js/activiti_process_list.js"></script>-->

</head>
<body>
<!--<h1 style="width: 100%;text-align: center">用户</h1>-->
<div style="width:100%;height: 32px">
    <div class="mini-toolbar" style="border:0;padding:0px;">
        <table style="width:100%;">
            <tr>
                <td style="width:100%;">
                    <!--plain="true"   :添加该属性，按默认显示没边框-->
                    <a class="mini-button" iconCls="icon-add" onclick="Toadd()">创建模型</a>
                    <a class="mini-button" iconCls="icon-edit" onclick="ToModel()">编辑模型</a>
                    <a class="mini-button" iconCls="icon-remove" onclick="remove()">删除模型</a>
                    <a class="mini-button" iconCls="icon-add" onclick="deploy()">部署</a>
                    <!--<span class="separator"></span>   分割线-->
                </td>
                <td style="white-space:nowrap;">
					<!--<a class="mini-button" iconCls="icon-reload" onclick="refresh()">刷新</a>-->
                    <!--<input id="key" class="mini-textbox" emptyText="请输入名称" style="width:150px;" onenter="onKeyEnter"/>-->
                    <!--<a class="mini-button" onclick="search()">查询</a>-->
                 </td>
            </tr>
        </table>
    </div>
</div>
<div class="mini-fit">
	<div id="datagrid1" class="mini-datagrid" fielid="id" style="width:100%;height:100%;"  multiSelect="false" showPager="false">
	    <div property="columns">
	        <!--<div type="indexcolumn"></div>-->
	        <div type="checkcolumn" ></div>
	        <div type="indexcolumn" headerAlign="center">序号</div>
	        <div field="id" width="80" headerAlign="center" align="center">模型ID</div>
	        <div field="name" width="80" headerAlign="center" align="center" >模型名称</div>
	        <div field="createDate" width="80" headerAlign="center" align="center">创建时间</div>
            <div field="updateDate" width="80" headerAlign="center" align="center">修改时间</div>
            <div field="version" width="80" headerAlign="center" align="center">模型的版本</div>
            <div field="" width="120" headerAlign="center" align="center" renderer="onActionRenderer">操作</div>
		</div>

	</div>
</div>
<div id="process" style="position:absolute;left:50%;top:18%;margin-left:-492px;display: none" >
    <div style="width: 100%;height:30px;position: relative">
        <a class="mini-button" iconCls="icon-remove" onclick="close()">关闭</a>
    </div>
    <img id="imgs" src="" alt=""/>
</div>
<div id="add" style="position:absolute;left:50%;top:18%;margin-left:-88px;display: none" >
    <div style="width:300px;height:170px; background-color: #f2f5f7;border:1px solid #aed0ea">
        <div style="white-space:nowrap;padding:0 44px;margin: 40px 0;">
            <span>模型名称</span>
            <input id="processName" class="mini-textbox" emptyText="请输入名称" style="width:150px;" />
        </div>
        <div style="padding:0 80px;">
            <a class="mini-button" iconCls="icon-add" onclick="add()">创建</a>
            <a class="mini-button" iconCls="icon-remove" onclick="out()">取消</a>
        </div>
    </div>
 </div>


<script src="../../js/activiti_js/activiti_model_list.js" type="text/javascript"></script>
</body>
</html>